const exUtil = {
  success: (res, info = '') => {
    res.send({
      status: 200,
      desc: 'success',
      result: info
    })
  },
  error: (res, msg = '') => {
    res.send({
      status: 0,
      desc: 'error',
      result: msg
    })
  }
}

module.exports = exUtil
